import Layout from '@/layout'
export default [
  {
    path: '/order',
    name: 'order',
    meta: {
      icon: 'md-cloud-upload',
      title: '订单列表'
    },
    component: Layout,
    children: [
      {
        path: 'orderList',
        name: 'orderList',
        meta: {
          icon: 'ios-document',
          title: '借款订单列表'
        },
        component: () => import('@/views/order/orderList')
      },
      {
        path: 'detail',
        name: 'detail',
        meta: {
          icon: 'ios-document',
          title: '借款订单详情'
        },
        component: () => import('@/views/order/orderDetail')
      },
      {
        path: 'repaymentCode',
        name: 'repaymentCode',
        meta: {
          icon: 'ios-document',
          title: '还款码管理'
        },
        component: () => import('@/views/order/repaymentCode')
      }
    ]
  }
]
